#include "stdafx.h"
#include "ZNetworkSystemMessage.h"
#include "ZMessageHandler.h"

namespace	Z	{

//------------------------------------------------------------------------------------------------------------------------
void NetworkConnectMessage::pump(MessageHandler& kMessageHandler)
{
	kMessageHandler.onConnect(getNetworkId());
}

//------------------------------------------------------------------------------------------------------------------------
void NetworkDisconnectMessage::pump(MessageHandler& kMessageHandler)
{
	kMessageHandler.onDisconnect(getNetworkId());
}

}